/*    */ import java.awt.Desktop;
/*    */ import java.awt.Insets;
/*    */ import java.awt.event.ActionEvent;
/*    */ import java.awt.event.ActionListener;
/*    */ import java.net.URI;
/*    */ import javax.swing.JButton;
/*    */ 
/*    */ public class ChartHelpButton extends JButton
/*    */ {
/*    */   private String url;
/*    */ 
/*    */   public ChartHelpButton(String paramString1, String paramString2)
/*    */   {
/* 12 */     super("?");
/* 13 */     this.url = paramString1;
/* 14 */     setToolTipText(paramString2);
/* 15 */     setMargin(new Insets(1, 2, 1, 2));
/*    */ 
/* 18 */     addActionListener(new ActionListener()
/*    */     {
/*    */       public void actionPerformed(ActionEvent paramActionEvent)
/*    */       {
/*    */         try {
/* 23 */           URI localURI = new URI(ChartHelpButton.this.url);
/* 24 */           Desktop.getDesktop().browse(localURI);
/*    */         }
/*    */         catch (Exception localException)
/*    */         {
/*    */         }
/*    */       }
/*    */     });
/*    */   }
/*    */ }

/* Location:           C:\Users\Deebak\Downloads\profitindicatorsv2-05.jar
 * Qualified Name:     ChartHelpButton
 * JD-Core Version:    0.6.0
 */